home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / GRAPHICS / VOXRAY.ZIP / SCRCNTL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-25  |  517 b   |  26 lines

  1. #ifndef _SCREENCONTROL_
  2. #define _SCREENCONTROL_
  3. #include "os.h"
  4.  
  5. #ifdef OS_DOS
  6. typedef UCHAR * screen_ptr;
  7. #endif
  8.  
  9. #ifdef OS_WINDOWS
  10. typedef HDC screen_ptr;
  11. #endif
  12.  
  13. void Init_Screen(short width, short height);
  14. void Activate_Graphics();
  15. void End_Graphics();
  16. void Change_Screen(short width, short height);
  17. void Set_Screen_Window(screen_ptr new_screen_ptr);
  18. screen_ptr Get_Screen_Window();
  19.  
  20. #ifdef OS_WINDOWS
  21. void Set_Stretch_Factor(short new_factor);
  22. short Get_Stretch_Factor();
  23. #endif
  24.  
  25. #endif
  26.